<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ page isELIgnored="true" %>
<%@ page import = "java.util.*" %>
<jsp:useBean id="user" scope="session" class="worklog.db.UserDB"/>
<%
	Object isLoggedObj = session.getAttribute("logged");
	Boolean isLogged = false;
	if (isLoggedObj != null) isLogged = (Boolean) isLoggedObj;
	if (!isLogged) response.sendRedirect("login.jsp");
%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Worklog3</title>
<link rel="stylesheet" type="text/css" href="themes/aristo/jquery-ui-1.8.7.custom.css">
<link rel="stylesheet" type="text/css" href="css/widgets.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body class="project-stats">
	<jsp:include page = "menu.jsp" />


	<aside id="sidebar">
		<div class="calendar-nav">
			<div id="projectPlaceholder"><div class="project empty">drop project here</div></div>
			<a href="#" id="btnRefresh">Refresh</a>
		</div>
		<input type="text" id="projectFilterField" />
		<div class="lists ui-widget-content">
			<ul id="favList" class="list ui-helper-reset"></ul>
			<ul id="projectList" class="list ui-helper-reset"></ul>
			<a class="action-link show-more-projects" href="#">Show all</a>
			<a class="action-link hide-more-projects" href="#">Hide all</a>
		</div>
	</aside>
	
	
	<section id="wrapper"><div id="chart0"></div><div id="chart1"></div><div id="chart2"></div></section>
	
	
	<form class="form" id="editProjectForm">
		<label class="label">Name</label><input class="input" type="text" name="name" disabled="disabled"/>
		<label class="label">Tags</label><input class="input" type="text" name="tags" />
		<input type="hidden" name="id" />
	</form>
	

<script src="js/jquery/jquery-1.7.2.min.js"></script>
<script src="js/jquery/jquery-ui-1.8.14.custom.min.js"></script>
<script src="js/jquery/jquery.plugins.js"></script>
<script src="js/jquery/highcharts.js"></script>
<script src="js/jquery/highstock.js"></script>

<script src="js/_toolbox.js"></script>
<script src="js/widgets/mask.js"></script>
<script src="js/widgets/toaster.js"></script>
<script src="js/widgets/window.js"></script>
<script src="js/components/project.js"></script>
<script src="js/common.js"></script>
<script src="js/project-stats.js"></script>
<script>App.User=<%
Object userO = session.getAttribute("userId");
if (userO != null) out.print(user.getUserById((Integer)userO).toString()); else out.print("{}");
%>;</script>
</body>
</html>